/**
 * Classname :AccountManagerImpl.java
 *
 * Version information: 1.0
 *
 * Date: Dec 27, 2010 ho.viet.duan create
 *
 * MDG Viet Name co.ltd, All Rights Reserved.
 */
package com.zho.business;

import com.zho.common.domain.db.PagingInfo;
import com.zho.common.domain.db.SearchResult;
import com.zho.domain.model.CustomerInfo;

/**
 * @author Ho.Viet.Duan 
 * Created Dec 06, 2011
 */
public interface AccountManager {

	public CustomerInfo getCustomerByEmail(String email) throws Exception;
	
	public CustomerInfo getCustomerById(String id) throws Exception;

	public Integer addCustomer(CustomerInfo customerInfo) throws Exception;

	public Integer updateCustomer(CustomerInfo customerInfo, Integer type) throws Exception;

	public Integer updatePassword(CustomerInfo customerInfo) throws Exception;

	public SearchResult<CustomerInfo> listCustomer(CustomerInfo custonerInfo, PagingInfo pagingInfo, String orderColumn) throws Exception;
}